home *** CD-ROM | disk | FTP | other *** search
-
-
- mkcuts(SMT) . mkcuts(SMT)
-
-
-
- _N_a_m_e
-
- mkcuts - make custom-installable distribution (application cutting tool)
-
- _S_y_n_t_a_x
-
- mmkkccuuttss [--cc] [--ii] [--ss] [--uu] [--ff _vvvv_aaaa_rrrr_ssss______ffff_iiii_llll_eeee]
-
- _O_p_t_i_o_n_s
-
-
- --cc compresses the files in the product
-
- --ii produces disk image files rather than cutting directly to the media
-
- --ss produces a sumlist file listing the checksum of each file in the dis-
- tribution
-
- --ff sources the named file to set the required environment variables. If
- the --ff option is not given, mmkkccuuttss sources the file ./_s_i_t_e__v_a_r_i_a_b_l_e_s
- by default.
-
- --uu display command line usage, then quit
-
-
- _D_e_s_c_r_i_p_t_i_o_n
-
- mmkkccuuttss is a tool for making ccuussttoomm-installable application distributions.
- mmkkccuuttss uses ffiixxppeerrmm to extract the information in the permlist
- ./_d_i_s_t/_t_m_p/_p_e_r_m_s/_pppp_rrrr_dddd to determine which files are on the distribution.
- Once it has this information, it runs a series of programs that create
- the distributions.
-
- ffddffiitt fits the files on the volumes in the most efficient order taking
- care to put specified files on specified volumes where indicated. For
- example, init scripts, in general, are on the last volume; installation
- tools are generally on the first volume. It creates files in $$MMIISSCCDDIIRR,
- which are named _0_1 ... _0_nnnn and contain the list of files on that volume.
- vvoollnnoo looks in these files, $$MMIISSCCDDIIRR//##, and updates each file's entry in
- the permlist, ./_d_i_s_t/_t_m_p/_p_e_r_m_s/_pppp_rrrr_dddd, with the corresponding volume number.
- ppkkggssiizzee calculates the total size used by each package listed in the
- permlist and updates the permlist with this value. ffiixxppeerrmm is run on the
- distribution hierarchy to set permissions and ownerships to match those
- of the permlist. You must be running as _r_o_o_t so that ffiixxppeerrmm runs
- correctly.
-
- mmkkccuuttss uses a number of shell variables to obtain information about the
- product and the cutting environment. mmkkccuuttss sets these variables by
- sourcing the file given with the --ff option, or the ./_s_i_t_e__v_a_r_i_a_b_l_e_s file
- if no --ff option is used.
-
- The variables that need to be changed for each product cut with mmkkccuuttss
- are:
-
- PPRROODDSSEETT full name of the product, for example, ``SCO Profes-
- sional''
-
- PPRROODDPPRRDD short or abbreviated product name, for example, ``pro''
-
- PPRROODDTTYYPP code for the target machine and environment, for example
- ``n386''
-
- PPRROODDRREELL current release number/name, for example, ``3.2.0a''
-
- PPRROODDUUPPDD update string; optional field only needed for an update,
- for example, ``UA''
-
- TTAARRGGEETT__OOSS operating system for which the product is intended;
- ``UNIX'' or ``XENIX'
-
- The variables that need to be changed for each different media type used
- in a cut are:
-
- DDEEVVIICCEE device name for archiving distribution, for example,
- /_d_e_v/_r_f_d_0_9_6_d_s_1_5
-
- VVOOLLSSIIZZEE size of each distribution volume, for example, ``1185k''
-
- BBLLOOCCKKIINNGG blocking factor (if required), for example, ``10''
-
- FFOORRMMAATT complete command needed to format a volume, for example,
- ffoorrmmaatt --ff /_d_e_v/_r_f_d_0_9_6_d_s_1_5
-
- NNOOTTAARR pathnames of any files not to be put onto the distribution
- media. This is used to stop link names from being put
- onto the media by ttaarr. (Links are made by ffiixxppeerrmm when
- the product is installed.)
-
- Some special-purpose variables that are used for some products, but do
- not usually need to be changed from their default values, are:
-
- SSEERRIIAALLKKEEYY serialization key for serialization; optional, only if
- debranding files
-
- SSEERRIIAALLIIZZEE pathnames of any serialization files; optional, only if
- debranding files
-
- VVOOLLPPRREEFFIIXX optional prefix letters for the volume number field in the
- permlist.
-
- NNOOCCOOMMPPRREESSSS lists packages that are not to be compressed when the --cc
- option is used. For example:
-
- NNOOCCOOMMPPRREESSSS==""PPEERRMM IINNSSTT TTOOOOLLSS""
-
- This ensures that the PPEERRMM, IINNSSTT, and TTOOOOLLSS packages in
- the product are not compressed when the other files in the
- product are compressed by mmkkccuuttss. If NNOOCCOOMMPPRREESSSS is blank
- or not set, the --cc option compresses all files in the dis-
- tribution except the permlist.
-
- The following variables define certain parts of the cutting hierarchy,
- and are almost never changed from their default values.
-
- DDIISSTTDDIIRR ``root'' directory of the distribution hierarchy, for
- example, _pppp_wwww_dddd/_d_i_s_t
-
- CCDDIISSTTDDIIRR ``root'' directory of the compressed distribution hierar-
- chy, where the files in the distribution are compressed
- when the --cc option is used
-
- MMIISSCCDDIIRR distribution ``misc'' directory, relative to DDIISSTTDDIIRR used,
- for example, to store list of files corresponding to vol-
- umes
-
- SSUUMMDDIIRR If a sum list of the final product is desired, mmkkccuuttss
- places it in the sum-directory listed, under the subdirec-
- tory SSUUMMDDIIRR/PPRROODDRREELL/MMEEDDIIAA.
-
- IIMMAAGGEEDDIIRR directory under which the distribution image files are
- placed when the --ii option is used. The files are placed
- under the subdirectory IIMMAAGGEEDDIIRR/PPRROODDRREELL/MMEEDDIIAA.
-
-
- _S_e_e _a_l_s_o
-
- ffddffiitt(SMT), ffiixxppeerrmm(M), vvoollnnoo(SMT)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-